// 标准规范

import request from "./axios";

export const positionDutyAPI = {
    // 获取列表
  getList: (params) => request.get("/entities/positionDuty", { params }),

  create: (data) => request.post("/entities/positionDuty", data),

  update: (id, data) => request.put(`/entities/positionDuty/${id}`, data),

  get: (id, data) => request.get(`/entities/positionDuty/${id}`),

  delete: (id) => request.delete(`/entities/positionDuty/${id}`),
};
